package com.leyou.auth.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@SuppressWarnings("ALL")
/**
 * @Description :
 * @author     :LD
 */
@FeignClient("auth-service")
public interface AuthClient {
    @GetMapping("client/key")
    String getSecretKey(@RequestParam("clientId")String ClientId,@RequestParam("secret")String secret);
}
